package com.zhu.shopcenter.feign;


import com.zhu.shopcenter.feign.fallback.MemberFallBack;

import com.zhu.shopcenter.vo.MemberVo;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(value = "service-member",fallback = MemberFallBack.class)
public interface memberFeign {
    @GetMapping("api/member/order/getMemberById/{memberId}")
    @ApiOperation("获取会员信息")
    public MemberVo getMember(@PathVariable String memberId);

}
